package com.botu.springcloudgatewaydemo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: hanzeyao
 * @Date: 2019/12/10 14:10
 * @Description:
 */
@RestController
public class ProductorController {

    @GetMapping("/{str}")
    public String test(@PathVariable String str){
        return str;
    }
}
